package com.hngtrust.iir.elk.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Cdd
 */
@ApiModel(description = "行业研报检索请求参数")
@Data
public class IndustryReportReq {

    /**
     * 每一页条数
     */
    @NotNull(message = "每一页条数为空")
    @ApiModelProperty(value = "每一页条数", dataType = "Integer", required = true)
    private Integer size;

    /**
     * 排序码，顺序和排序顺序一杨
     */
    @NotNull(message = "排序码为空")
    @ApiModelProperty(value = "排序码为空", dataType = "List", required = true)
    private List<String> orderNumber;

    /**
     * 检索内容
     */
    @ApiModelProperty(value = "检索内容", dataType = "String")
    private String content;

    /**
     * 检索内容类型
     */
    @NotBlank(message = "检索内容类型")
    @ApiModelProperty(value = "检索内容类型(0全文、1标题、2内容)",dataType = "String",required = true)
    private String searchType;

    /**
     * 研报类型标签
     */
    
    @ApiModelProperty(value = "研报类型标签", dataType = "List", required = true)
    private List<String> reportTypeTags;

    /**
     * 行业分类code
     */
    @ApiModelProperty(value = "行业分类code", dataType = "String")
    private String indutryCode;

    /**
     * 行业层级
     */
    @ApiModelProperty(value = "行业层级", dataType = "Integer")
    private Integer indutryLevel;

    /**
     * 评级标签
     */
    @NotNull(message = "评级为空")
    @ApiModelProperty(value = "评级标签", dataType = "List",required = true)
    private List<String> rankTags;

    /**
     * 评级变动标签
     */
    @NotNull(message = "评级变动为空")
    @ApiModelProperty(value = "评级变动标签", dataType = "List",required = true)
    private List<String> rankChangeTags;
    
    @ApiModelProperty(value = "数据来源")
    private List<String> dataSource;
    @NotNull(message = "来源机构为空")
    @ApiModelProperty(value = "来源机构")
    private List<String> sourceAgency;

    @ApiModelProperty(value = "页数   1 20页以上 2 10-20 3 10以下  ")
    private Integer pages;

    
}
